package com.zb.enums;

import cn.dev33.satoken.stp.StpUtil;

/**
 * @Author WEN
 * @Date 2023/7/10 0010
 **/
public enum TokenType {
    /**
     * 登录token
     */
    ACCESS_TOKEN(StpUtil.getTokenName()),
    /**
     * 刷新token
     */
    REFRESH_TOKEN("refresh-token"),
    ;
    private String type;

    TokenType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }
}
